<template>
  <div class="app">
    <NavBar />
    <main class="main-content">
      <router-view v-slot="{ Component }">
        <transition name="fade" mode="out-in">
          <component :is="Component" />
        </transition>
      </router-view>
    </main>
    <footer class="app-footer">
      <p>© 2023 电影天堂 - 成型 (23003016) 23软件技术1班</p>
    </footer>
  </div>
</template>

<script setup>
import NavBar from '@/components/common/NavBar.vue'
</script>

<style lang="scss">
@import '@/styles/app';
</style>